package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.activity.UnionActivityConditionData;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;
import java.util.Map;

public class UnionActivityTaskBusiness {

    public static Map<Integer, Map<String, Map<Integer, UnionActivityConditionData>>> getUnionActivityConditionDataMap(List<Integer> activityIdList, List<Integer> conditionTypeList) {
        return DaoHelper.getUnionActivityTaskDaoImpl().getUnionActivityConditionDataMap(activityIdList, conditionTypeList);
    }

    public static boolean addUnionActivityConditionData(UnionActivityConditionData data) {
        return DaoHelper.getUnionActivityTaskDaoImpl().add(data);
    }

    public static boolean updateUnionActivityConditionData(UnionActivityConditionData data) {
        return DaoHelper.getUnionActivityTaskDaoImpl().update(data);
    }
}
